﻿<UserControl x:Class="diary.MonthView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:diary"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="800" d:DesignWidth="1300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="153"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="70"/>
        </Grid.RowDefinitions>
        <Label Name="CurrentDate" Content="No Date Selected" Grid.Row="0" Grid.Column="2" FontWeight="Bold" FontSize="24" Foreground="#FF6569B6" Margin="3"/>
        <Label Content="Entry : " Grid.Row="1" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <TextBox Name="Entry" Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" FontSize="20"  Margin="3,3,20,3" TextWrapping="Wrap"
                AcceptsReturn="True"  VerticalScrollBarVisibility="Visible" Padding="3" Foreground="#FF6569B6" />
        <Label Content="Books : " Grid.Row="7" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <local:BookControl Grid.Row="7" Grid.Column="2" x:Name="Book1" Margin="0,0,10,0" />

        <Label Content="Movies : " Grid.Row="4" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <local:MovieControl Grid.Row="4" Grid.Column="2" x:Name="MovieCtrl" Margin="0,0,10,0" />


        <Label Content="Albums : " Grid.Row="5" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <local:AlbumControl Grid.Row="5" Grid.Column="2" x:Name="Album1" Margin="0,0,10,0" />
        <local:AlbumControl Grid.Row="6" Grid.Column="2" x:Name="Album2" Margin="0,0,10,0" />

        <Label Content="Workouts : " Grid.Row="3" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <TextBox Name="Workouts" Grid.Row="3" Grid.Column="2" FontSize="20"  Margin="3,3,20,3" Padding="3,6,3,3" Foreground="#FF6569B6" />

        <Label Content="Television : " Grid.Row="8" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <local:TelevisionControl Grid.Row="8" Grid.Column="2" x:Name="TV1" Margin="0,0,10,0" />
        <local:TelevisionControl Grid.Row="9" Grid.Column="2" x:Name="TV2" Margin="0,0,10,0" />

        <Label Content="Events : " Grid.Row="10" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <local:EventControl Grid.Row="10" Grid.Column="2" x:Name="Event1" Margin="0,0,10,0" />
        <local:EventControl Grid.Row="11" Grid.Column="2" x:Name="Event2" Margin="0,0,10,0" />

        <Label Content="Pics : " Grid.Row="13" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <ListBox Name="Pics" Grid.Row="13" Grid.Column="2" Grid.RowSpan="3" FontSize="20"  Margin="3,3,20,3" Padding="3,3,3,3" Foreground="#FF6569B6" AlternationCount="1" >
            <ListBox.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="Delete" Click="delete_click"/>
                </ContextMenu>
            </ListBox.ContextMenu>
        </ListBox>

        <Label Content="Work : " Grid.Row="12" Grid.Column="1" FontWeight="Bold" FontSize="20" Foreground="#FF6569B6" Margin="3" HorizontalAlignment="Right"/>
        <TextBox Name="Work" Grid.Row="12" Grid.Column="2" FontSize="20"  Margin="3,3,20,3" Padding="3,6,3,3" Foreground="#FF6569B6" />

        <Button Content="Save" Grid.Row="17" Grid.Column="2" Width="150" Height="40" FontWeight="Bold" FontSize="20" 
                           Foreground="#FF6569B6" HorizontalAlignment="Right" Margin="5,5,20,5" Click="ButtonSave_Click"/>

        <Button Content="Add Pic" Grid.Row="17" Grid.Column="2" Width="150" Height="40" FontWeight="Bold" FontSize="20" 
                           Foreground="#FF6569B6" HorizontalAlignment="Left" Margin="5,5,20,5" Click="ButtonAddPic_Click"/>
        <Calendar Name="Calendar" Grid.Row="1" Grid.Column="0" Grid.RowSpan="4" HorizontalAlignment="Right" SelectedDatesChanged="Calendar_SelectedDatesChanged"/>
    </Grid>
</UserControl>
